<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

	<table width="100%">
		<tr>
			<td width="100%" align="center" valign="top" class="common-text">
			<s:if test="hasActionMessages()">
				<s:iterator value="actionMessages">
					<span class="errorMessage"><s:property escape="false" /></span>
				</s:iterator>
			</s:if>

				<center>
					<font color="red" size="4"><b><s:text
								name="thanks.heading" /> </b> </font>
				</center>
				<br>
				<b><s:text name="thanks.para1" /> </b>.
				<br>
				<s:text name="thanks.para2" />
				<b><%= request.getSession().getAttribute("itemId") %></b>.
				<br>
				<br>
				<b><s:text name="thanks.para3" /> </b>
				<br>
				<a href="showItem.htm?cid=<%= request.getSession().getAttribute("itemId") %>" class="common-link"><b><s:property value="items.title" /></b> </a>
				<br>
				<br>
				<b><s:text name="thanks.para4" />
				<s:if test="%{items.itemtype.id == 1}">
					<a href="sellAddAuctions.htm?cid=<%= request.getSession().getAttribute("itemId") %>" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				<s:if test="%{items.itemtype.id == 2}">
					<a href="sellFixedPriceItem.htm?cid=<%= request.getSession().getAttribute("itemId") %>" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				<s:if test="%{items.itemtype.id == 3}">
					<a href="sellShopItem.htm?cid=<%= request.getSession().getAttribute("itemId") %>" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				<s:if test="%{items.itemtype.id == 4}">
					<a href="createWanted.htm?cid=<%= request.getSession().getAttribute("itemId") %>&action=submitsimilar" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				<s:if test="%{items.itemtype.id == 5}">
					<a href="createAdvertisement.htm?cid=<%= request.getSession().getAttribute("itemId") %>" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				<s:if test="%{items.itemtype.id == 6}">
					<a href="createProfile.htm?cid=<%= request.getSession().getAttribute("itemId") %>" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				<s:if test="%{items.itemtype.id == 7}">
					<a href="createTender.htm?cid=<%= request.getSession().getAttribute("itemId") %>&action=submitsimilar" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				</b>
				<br>
				<br>
				<b><s:text name="thanks.para5" />
				<s:if test="%{items.itemtype.id == 1}">
					<a href="sellAddAuctions.htm?cid=<%= request.getSession().getAttribute("itemId") %>" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				<s:if test="%{items.itemtype.id == 2}">
					<a href="sellFixedPriceItem.htm?cid=<%= request.getSession().getAttribute("itemId") %>" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				<s:if test="%{items.itemtype.id == 3}">
					<a href="sellShopItem.htm?cid=<%= request.getSession().getAttribute("itemId") %>" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				<s:if test="%{items.itemtype.id == 4}">
					<a href="createWanted.htm?cid=<%= request.getSession().getAttribute("itemId") %>&action=copyitem" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				<s:if test="%{items.itemtype.id == 5}">
					<a href="createAdvertisement.htm?cid=<%= request.getSession().getAttribute("itemId") %>" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				<s:if test="%{items.itemtype.id == 6}">
					<a href="createProfile.htm?cid=<%= request.getSession().getAttribute("itemId") %>" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				<s:if test="%{items.itemtype.id == 7}">
					<a href="createTender.htm?cid=<%= request.getSession().getAttribute("itemId") %>&action=copyitem" class="common-link"><s:text name="thanks.link" /> </a>
				</s:if>
				</b>
			</td>
		</tr>
	</table>